FROM moxm/java:1.8

WORKDIR /sessionGX

ENV TZ=Asia/Shanghai \
    ACTIVE=test1 \
    JAVA_OPTS="-Xms128m -Xmx256m"

COPY ./target/sessiongx-demo-1.0.jar app.jar

CMD java ${JAVA_OPTS} -jar app.jar --spring.profiles.active=${ACTIVE}


